package com.itheima.stock.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;


/**
 * @author kaoM1Jy
 * @date 2025/11/9 20:50
 * @description:
 */
@Data
@Component
@ConfigurationProperties(prefix = "id-worker.config")
public class IdWorkerProperties {
    private long datacenterId;
    private long machineId;
}
